﻿<%@ Page Language="C#" MasterPageFile="~/Common/MasterPage.master" AutoEventWireup="true" CodeFile="PassedList.aspx.cs" Inherits="News_PassedList" Title="浙江农林大学教学建设项目管理系统" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div class="left">
      <div class="box_1">
        <div class="left_title">项目信息类型</div>
        <div class="left_news">
          <ul>
            <li><a href="DeclareList.aspx">已开启申报</a></li>
            <li><a href="approvallist.aspx">已开启审批</a></li>
            <li><a href="PassedList.aspx">已立项项目</a></li>
          </ul>
        </div>
      </div>
<div class="box_1">
        <div class="left_title">项目搜索</div>
        <div class="left_nr">
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                  <td height="30">
                      项目名:</td>
                  <td>
                      <asp:TextBox ID="txtPname" runat="server" CssClass="input_1"></asp:TextBox></td>
              </tr>
              <tr>
                  <td height="30">
                      项目种类:</td>
                  <td>
                      <asp:DropDownList ID="ddlType" runat="server">
                          <asp:ListItem></asp:ListItem>
                      </asp:DropDownList></td>
              </tr>
           <tr>
               <td height="30">
                   项目级别:</td>
               <td>
                   <asp:DropDownList ID="ddlLevel" runat="server">
                       <asp:ListItem></asp:ListItem>
                       <asp:ListItem>校级</asp:ListItem>
                       <asp:ListItem>省级</asp:ListItem>
                       <asp:ListItem>国家级</asp:ListItem>
                   </asp:DropDownList></td>
           </tr>
              <tr>
                  <td colspan="2" height="30">
                      提交时间:</td>
              </tr>
           <tr>
               <td align="right" width="30%" height="30">
                   自:</td>
               <td>
               <input id="txtTime1" class="input_1" type="text" runat="server"  readonly="readOnly"/></td>
           </tr>
           <tr>
               <td align="right" width="30%" height="30">
                   至:</td>
               <td>
                   <input id="txtTime2" class="input_1" type="text" runat="server"  readonly="readOnly"/></td>
           </tr>
           </table>
           <div id="divmore">
           
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                  <td height="30" width="30%">
                      提交人:</td>
                  <td>
                      <asp:TextBox ID="txtName" runat="server" CssClass="input_1"></asp:TextBox></td>
              </tr>
              <tr>
              <td colspan="2" height="30">
                      提交人所属学院:</td>
              </tr>
              <tr>
                  <td align="center" colspan="2">
                      <asp:DropDownList ID="ddlDepart" runat="server">
                          <asp:ListItem></asp:ListItem>
                      </asp:DropDownList></td>
              </tr>
              <tr>
                  <td colspan="2" height="30">
                      项目所属学院:</td>
              </tr>
           <tr>
               <td align="center" colspan="2">
                   <asp:DropDownList ID="ddlPdepart" runat="server">
                       <asp:ListItem></asp:ListItem>
                   </asp:DropDownList></td>
           </tr>
           <tr>
               <td colspan="2" height="30">
               </td>
           </tr>
           </table>
           </div>
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr>
           <td width="30%"></td>
               <td height="30">
              <asp:ImageButton ID="btnSeach" runat="server" ImageUrl="~/Images/sousuo.gif" OnClick="btnSeach_Click" />          
               <a href="javascript:showdiv();">更多条件</a> 
               </td>
           </tr>
          </table>
        </div>
      </div>
      <div class="box_1" style="margin:0px;">
        <div class="left_title">跳转到其他页面</div>
        <div class="left_nr">
           <ul>
            <li><a href="http://www.zafu.edu.cn">浙江农林大学主页</a></li>
           <li><a href="http://jwc.zafu.edu.cn">浙江农林大学教务处</a></li> 
          </ul>
        </div>
      </div>
    </div>
    <div class="right">
      <div class="right_title"><img src="../Images/xiangmu.gif" />
        <div>当前位置：<a href="../Index.aspx">首页</a> > <span>项目信息</span></div>
      </div>
     <div style="margin:20px 0px;">
         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="gvStyle" EmptyDataText="暂无已立项的项目" Width="100%" Caption="已立项项目列表" CaptionAlign="Top" OnRowDataBound="GridView1_RowDataBound">
             <Columns>
                 <asp:BoundField DataField="type" HeaderText="项目种类" />
                 <asp:TemplateField HeaderText="项目名称">
                     <ItemTemplate>
                     <%#strTrim(Convert.ToString(Eval("pname")))%>
                      <asp:Label ID="lblhidden" runat="server" Visible="False" Text='<%# Eval("pname") %>'></asp:Label>
                     </ItemTemplate>
                 </asp:TemplateField>
                 <asp:BoundField DataField="plevel" HeaderText="项目级别" />
                 <asp:BoundField DataField="pcollege" HeaderText="项目所属学院" />
                 <asp:BoundField DataField="approvaldate" HeaderText="立项时间" DataFormatString="{0:yyyy/MM/dd}" />
                 <asp:BoundField DataField="name" HeaderText="申报人" />
                 <asp:BoundField DataField="depart" HeaderText="申报人所属学院" />
             </Columns>
         </asp:GridView>
    </div> 
    <div style="border-top:solid 1px #84888a; ">
     <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
      HorizontalAlign="Right" LastPageText="末页" NextPageText="下页" 
      PageIndexBoxType="TextBox" PageSize="20" PrevPageText="上页" ShowCustomInfoSection="Left"
      ShowPageIndexBox="Always" Width="100%" CustomInfoHTML="共<font color=blue><b>%RecordCount%</b></font>条数据 每页：<font color=blue><b>%PageSize%</b></font> 条 共<font color=blue><b>%PageCount%</b></font>页 当前页：<font color=red><b>%CurrentPageIndex%/%PageCount%</b></font>" OnPageChanged="AspNetPager1_PageChanged" CustomInfoSectionWidth="50%" SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" CustomInfoTextAlign="Left">
      </webdiyer:AspNetPager>
      </div>          
    </div>
    <div class="clear"></div>
<script type="text/javascript">
$(function hidediv() {
$('#divmore').hide();
});
function showdiv(){
$('#divmore').slideToggle();
}
</script>
</asp:Content>

